from langchain_core.tools import tool
from utils.logger_config import LoggerSingleton
logger = LoggerSingleton.get_logger() 

@tool
def add_tool(a: int, b: int) -> int:
    """add two numbers."""
    logger.info('使用add_tool工具')
    return a + b